package com.xzz.mybatis.generator.quartz;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @author: hhz
 * @createDate: 2021-3-29
 */
public interface QrtzRunningLogService {

    /** 保存新log */
    boolean saveNewLog(QrtzRunningLogDTO newLogDto);
    /** 分页获取一个任务最近执行日志 */
    IPage<QrtzRunningLogDTO> getLatestByJobKey(String jobKey, int pageSize, int currentPage);
}
